package com.egao.common.module.validate.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.egao.common.core.web.PageParam;
import com.egao.common.module.validate.entity.ValidateRule;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ValidateRuleMapper extends BaseMapper<ValidateRule> {
    /**
     * 分页查询验证规则
     * @param page 分页参数
     * @return
     */
    List<ValidateRule> listPage(@Param("page") PageParam<ValidateRule> page);
}
